Changes to make `narrow-to-defun' and `mark-defun' work properly in CC
authorAlan Mackenzie <acm@muc.de>
Mon, 9 Apr 2007 10:51:29 +0000 (10:51 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 9 Apr 2007 10:51:29 +0000 (10:51 +0000)
commit3c979afcd7560a3ff7de3e080977ab79dcbaf090
treecf4160424255fb753c90191c1b428dbae1b7a35c
parent3894b413a43ae3fb59d064df4abfbdb43134af1b
Changes to make `narrow-to-defun' and `mark-defun' work properly in CC
Mode:

cc-defs.el (c-beginning-of-defun-1):
cc-cmds.el (c-beginning-of-defun, c-end-of-defun): bind
beginning/end-of-defun-function to nil around calls to
beginning/end-of-defun.

cc-langs.el (beginning-of-defun-function, end-of-defun-function): new
c-lang-setvar's.

cc-awk.el (c-awk-beginning-of-defun): Add "(or arg (setq arg 1))" to
enable non-interactive call.
lisp/progmodes/cc-awk.el
lisp/progmodes/cc-cmds.el
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-langs.el